using System;
[Serializable]
public class CharAdapter
{
    public string AgentStr;
    public char TargetChar;
}
public abstract class CharAdapterHelper
{
    public abstract CharAdapter GetCharAdapter();
}
public class CharAdapterHelperComa: CharAdapterHelper
{
    public override CharAdapter GetCharAdapter()
    {
        return new CharAdapter()
        {
            AgentStr = "comma",
            TargetChar = ',',
        };
    }
}
public class CharAdapterHelperDot : CharAdapterHelper
{
    public override CharAdapter GetCharAdapter()
    {
        return new CharAdapter()
        {
            AgentStr = "dot",
            TargetChar = '.',
        };
    }
}
public class CharAdapterHelperPersent : CharAdapterHelper
{
    public override CharAdapter GetCharAdapter()
    {
        return new CharAdapter()
        {
            AgentStr = "persent",
            TargetChar = '%',
        };
    }
}
public class CharAdapterHelperDownLine: CharAdapterHelper
{
    public override CharAdapter GetCharAdapter()
    {
        return new CharAdapter()
        {
            AgentStr = "downLine",
            TargetChar = '_',
        };
    }
}


